<?php
class Debito extends CI_Model {

    
    
    public function verificarDebitos(){
        
        $query = $this->db->get_where('servicos.view_debito_aberto', 
                array('regcli' => $regCli,
                      'tpcli'  => $tpCli));
        
        $debitos = $query->result_array();
        
        if(count($debitos) > 0)
            return $debitos;
        
        return false;
        
    }
    

    
}

?>
